package com.liangwj.springbootweb.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * <b>Description:</b> Spring Security 学习用到的Controller <br/>
 * @author Lingwenjun
 * @date 2018/12/17-15:37
 * @version 1.0
 */
@Controller
@RequestMapping(value = "/security")
public class SpringSercurityController {

    @RequestMapping("/index")
    public String index() {

        return "spring_security/index";
    }

    @RequestMapping(value = "/hello")
    public String hello() {

        return "spring_security/hello";
    }

    @RequestMapping(value = "/login")
    public String login() {

        return "spring_security/login";
    }
}
